﻿using System.Data.Entity.ModelConfiguration;

namespace BookShop.DTO.Mapping
{
    public class CustomerMap : EntityTypeConfiguration<Customer>
    {
        public CustomerMap()
        {
            HasKey(c => c.Id);
            ToTable("Customer");
        }
    }
}
